﻿package com.crl.module.logging
{
	import flash.events.IEventDispatcher;
	
	/**
	 *  一个日志 接口;
	 * @author crl
	 * 
	 */	
	public interface ILogger extends IEventDispatcher
	{
		
		function get channel():String ;
		
		function debug( context:* , ...rest:Array ):void ;
		
		function error( context:* , ...rest:Array ):void ;
		
		function fatal( context:* , ...rest:Array ):void ;
		
		function info( context:* , ...rest:Array ):void ;
		
		function log( context:*, ...rest ):void ;
		
		function warn( context:* , ...rest:Array ):void ;
	}
}